package com.game.league.task.detail.adapter;

import com.game.base.app.base.BaseAdapter;
import com.game.league.R;
import com.game.league.databinding.AdapterTaskTagBinding;

/**
 * 任务标签
 * Created by Su on 2019/6/6.
 */
public class TaskTagAdapter extends BaseAdapter<String, AdapterTaskTagBinding> {
    @Override
    protected int getLayoutResId(int viewType) {
        return R.layout.adapter_task_tag;
    }

    @Override
    protected void onBindItem(AdapterTaskTagBinding binding, String item, int position) {
        binding.tvTag.setText(item);
    }
}
